
//Module ID
enum emModule_FLAG
{
	Module_SOUND=0x01,
	Module_KEY=0x02,
	Module_SYSTEM=0x03,
	Module_RADIO=0x04,
	Module_SRADIO=0x15,
	Module_CDC=0x05,
	Module_DVD=0x06,
	Module_TPMS=0x07,
	Module_BACKCAR=0x08,
	Module_TV=0x09,
	Module_BT=0x0A,
	Module_IPOD=0x0B,
	Module_MEDIA=0x0C,
	Module_BLCD=0x0D,
	Module_AUX=0x0E,
	Module_NET=0x0F,
	Module_STT=0x10,
	Module_GPS=0x11,
	Module_VIDEO=0x12,
	Module_AC=0x16,
	Module_OBD=0x17,
	Module_UPDATA=0x37,
	Module_ExtCar=0x40,
	Module_OSD=0x41,
	Module_DVR=0x42,
	Module_VAP=0x43, 
	Module_HDMI=0x44,
	Module_Agency = 0x45,
	Module_AUXScreen=0x50,
	Module_CENTER=0xFF,
	Module_UI=0xEE,
	Module_BaseUI=0xED,
	Module_AUXSCRREN=0x50,
	Moudle_Globle= 0x90
};

//hal id
enum HalFlag
{
	Hal_Audio = 0x00,
	Hal_Vedio = 0x01,
	Hal_Key = 0x02,
	Hal_System = 0x03,
	Hal_Radio = 0x04,
	Hal_Global = 0x05,
	Hal_BT = 0x06,
	Hal_DVD = 0x07,
	Hal_SLP = 0x08,
	Hal_EXB = 0x09,
	Hal_Tpms = 0x0A,
	Hal_TV = 0x0B,
	Hal_AC = 0x0C,
	Hal_Screen = 0x0D,
	Hal_DVR = 0x0E,
	Hal_ExtCar = 0x0F,
	Hal_Agency = 0x12,
	Hal_ExHDMI = 0x80,
};


#define UM_RECV_MSG				WM_USER + 0x2000

#define UM_AUDIO_READ			WM_USER + 0x1000
#define UM_VIDEO_READ			WM_USER + 0x1001
#define UM_KEY_READ				WM_USER + 0x1002
#define UM_SYSTEM_READ			WM_USER + 0x1003
#define UM_RADIO_READ			WM_USER + 0x1004
#define UM_GLOBAL_READ			WM_USER + 0x1005
#define UM_BT_READ				WM_USER + 0x1006
#define UM_DVD_READ				WM_USER + 0x1007
#define UM_TPMS_READ			WM_USER + 0x100A
#define UM_TV_READ				WM_USER + 0x100B
#define UM_AC_READ				WM_USER + 0x100C
#define UM_SCREEN_READ			WM_USER + 0x100D
#define UM_DVR_READ				WM_USER + 0x100E
#define UM_EXTCAR_READ			WM_USER + 0x100F
#define UM_AGENCY_READ			WM_USER + 0x1010
#define UM_EXHDMI_READ			WM_USER + 0x1011







#define NS_VOL_SHMMAMP_NAME					_T("DataMap")
#define NS_SHM_MEMORY_EVENT_NAME			_T("SHARE_MEMORY_DRIVER_WRITE_DATA_HANDLE_NAME")